<div>
	<h3>
		<a title="Close" href="javascript:void(0)" onClick="this.parentNode.parentNode.parentNode.style.display='none';"><img src="gui/close_12.gif" style="border:none; float:right; margin:5px 10px;" /></a>
	</h3>
	<label class="left" for="dopis_tip">tip:</label>
	<select name="dopis_tip" id="dopis_tip">
		{{%loop start dt_id}}
		<option value="{{$dt_id}}" {{$dt_selected}}>{{$dt_name}}</option>
		{{%loop end}}
	</select>
	
	<br clear="all" />
	<label class="left" for="dopis_date">datum dolaska:</label>
	<input type="text" class="dateInput" name="dopis_date" id="dopis_date" value="{{$d_date}}" />
	<input type="button" class="datePicker" onClick="displayDatePicker(this.previousSibling.previousSibling.id,this)" />
	
	<br clear="all" />
	<label class="left" for="dopis_radnik">predat radniku:</label>
	<select name="dopis_radnik" id="dopis_radnik">
		{{%loop start radnik_id}}
		<option value="{{$radnik_id}}" {{$radnik_selected}}>{{$radnik_ime}}&nbsp;{{$radnik_prezime}}</option>
		{{%loop end}}
	</select>
	<input type="text" class="dateInput" name="dopis_radnik_date" id="dopis_radnik_date" value="{{$dopis_radnik_date}}" />
	<input type="button" class="datePicker" onClick="displayDatePicker(this.previousSibling.previousSibling.id,this)" />
	<br clear="all" />
	<hr style="clear:both; margin:10px;" />
	<label class="left" for="dopis_ishod">ishod:</label>
	<select name="dopis_ishod" id="dopis_ishod">
		{{%loop start di_id}}
		<option value="{{$di_id}}" {{$di_selected}}>{{$di_name}}</option>
		{{%loop end}}
	</select>
	<input type="text" class="dateInput" name="dopis_ishod_date" id="dopis_ishod_date" value="{{$dopis_ishod_date}}" />
	<input type="button" class="datePicker" onClick="displayDatePicker(this.previousSibling.previousSibling.id,this)" />
	
	<br clear="all" />
	<label class="left" for="dopis_napomena">napomena:</label>
	<textarea name="dopis_napomena" id="dopis_napomena">{{$dopis_napomena}}</textarea>
</div>